#include <vector>
class Node
{
public:
    Node() = default;
    Node(int id, const std::vector<Node *> &inputs, long exec_time, long transfer_time)
        : id_(id), inputs_(inputs), exec_time_(exec_time), transfer_time_(transfer_time) {}
    const std::vector<Node *> &inputs() const { return inputs_; }
    int id() const { return id_; }
    long long exec_time() const { return exec_time_; }
    long long transfer_time() const { return transfer_time_; }

private:
    int id_{-1};
    std::vector<Node *> inputs_;
    long long exec_time_{-1};
    long long transfer_time_{-1};
};
